<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="utf-8">
	<title><?=$title?></title>
	<meta name="keywords" content="<?=$tags?>"/>
	<meta name="generator" content="vim" />
	<meta name="copyright" content="2012" />
	<meta name="distribution" content="<?=$info?>" />
	<meta http-equiv="content-language" content="zh-CN" />
	<link rel="shortcut icon" href="/static/img/opengit-logo.png" type="image/x-icon">
	<link rel="made" href="mailto:erasinoo@gmail.com"/>
	<link rel="index" href="/index.php"/>
	<link rel="canonical" href="/"/>
	<meta name="author" content="erasinoo@gmail.com" />
	<meta name="robots" content="all" />
	<script type="text/javascript" charset="utf-8">
		var m = 0;
		var STATIC_URL = '<?php echo STATIC_URL; ?>';
	</script>
	<?php if(isMobile()): ?>
	<script type="text/javascript" charset="utf-8">
		m=1;//mobile
	</script>
	<meta name="viewport" content="width=device-width; initial-scale=1.3;minimum-scale=1.0; maximum-scale=2.0"/>
	<meta name="MobileOptimized" content="240"/>
	<meta name="Iphone-content" content="320"/>
	<?php endif; ?>
    <?php 
    echo link_script('jquery.min.js');
    echo link_script('bootstrap.js');
    echo link_script('scripts.js');
    echo link_script('highlight.js');
    echo link_script('jquery.fancybox.min.js');
    echo link_style('bootstrap.css');
    echo link_style('animate.css');
    echo link_style('hint.css');
    echo link_style('markdown.css');
    echo link_style('print.css');
    echo link_style('jquery.fancybox.css');
    echo link_style('highlight/github.css');
    $menu=isset($menu)?$menu:'index';
    ?>
<?php
if(strpos($_SERVER['HTTP_USER_AGENT'],'MSIE 6.0')):
?>
    <!--[if lte IE 6]>
    <!-- bsie css patch -->
    <link rel="stylesheet" type="text/css" href="/static/css/bootstrap-ie6.css">

    <!-- bsie additional css patch -->
    <link rel="stylesheet" type="text/css" href="/static/css/ie.css">
    <![endif]-->

    <!--[if lte IE 6]>
    <!-- bsie js patch, it will only execute in IE6 -->
    <script type="text/javascript" src="/static/js/bootstrap-ie.js"></script>
    <![endif]-->
<?php 
endif;
?>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

</head>
<body>
<?php 
/*
	<div class="navbar navbar-inner header">
    <div class="container">
		<ul class="nav pull-left">
			<li> <a href="<?=GLOBAL_URL?>index.php">MD</a></li>
		</ul>
	
		<ul class="nav">
			<li <?php echo $menu == 'docs'?'class="active"':'' ?> ><a href="<?=GLOBAL_URL?>index.php/docs">DOCS</a></li>
			<li <?php echo $menu == 'linux'?'class="active"':'' ?> ><a href="<?=GLOBAL_URL?>index.php/linux">LINUX</a></li>
			<li <?php echo $menu == 'php'?'class="active"':'' ?> ><a href="<?=GLOBAL_URL?>index.php/php">PHP</a></li>
			<li <?php echo $menu == 'jquery'?'class="active"':'' ?> ><a href="<?=GLOBAL_URL?>index.php/jquery">PHP</a></li>
			<li class="divider-vertical"></li>
		</ul>
        <!--
    	<form class="navbar-form pull-left">
			<input type="text" class="search-query" placeholder="Search ">
		</form>
        -->
		<ul class="nav pull-right">   
			<li <?php echo $menu == 'tools'?'class="active"':'' ?> ><a href="/tools/">Tools</a></li>
			<li><a href="#feed">FEED</a></li>
		</ul>
    </div>
	</div>
    <div class='clear'></div>

 */
?>

    <!-- #container -->

